package com.sunny.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.sunny.dao.IBankDao;
import com.sunny.model.Bank;
import com.sunny.service.IBankService;

import framework.base.BaseService;
@Service
public class BankServiceImpl extends BaseService<Bank> implements IBankService {

	@Resource
	private IBankDao  bankDao;
	
	@Override
	public Bank find(Integer id) {
		return bankDao.find(id);
	}

	public IBankDao getBaseDao() {
		return bankDao;
	}

}
